import math

def getThirdSide(a,b):
    c2 = a*a + b*b
    return math.sqrt(c2);

c = getThirdSide(9,12)
print("The right triangle third side  length is "+str(c))